<template>
  <div>
    <div v-for="item in 4" :key="item" class="b-b p-v-20">
      <div class="flex a-center p-10">
        <van-icon class="text-grey" name="shop-o"></van-icon>
        <span class="m-l-5 fs-12 text-content">邂逅花坊鲜花(情人草)</span>
        <van-icon class="text-grey fs-12 m-l-5" name="arrow" />
      </div>
      <div class="p-10 flex a-center j-between">
        <img class="w-30 b-round" :src="logo" alt="">
        <div class="m-l-10 flex-1">
          <p class="fs-12 text-grey">用户昵称</p>
          <van-rate size="12" v-model="rateValue" />
        </div>
        <p class="fs-12 text-grey a-s-start">2019.08.09</p>
      </div>
      <div class="p-10">
        <p class="fs-14 text-content">用户评论内容</p>
        <div class="flex m-t-10">
          <div v-for="item in 3" :key="item"
            class="w-80 h-80 m-r-8" alt=""
            :style="{'background-image': `url(${logo})`, 'background-size': 'cover'}">
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import logo from '@/assets/images/merchant.jpg'
export default {
  data () {
    return {
      logo,
      rateValue: 3
    }
  }
}
</script>

<style lang="scss" scoped>
.a-s-start {
  align-self: flex-start;
}
</style>
